package com.www.applyword.adapter;

import android.content.Context;

import com.classic.adapter.BaseAdapterHelper;
import com.classic.adapter.CommonRecyclerAdapter;
import com.www.applyword.R;
import com.www.applyword.bean.GoodOrderListBean;
import com.www.applyword.utils.ImageUtil;

/**
 * author : huang
 * date   : 2019/10/21 0021 15:06
 * version: 1.0
 * @author Administrator
 */
public class JobWorkAdapter3 extends CommonRecyclerAdapter<GoodOrderListBean> {
    public JobWorkAdapter3(Context context) {
        super(context, R.layout.item_job_fen2);
    }


    @Override
    public void onUpdate(BaseAdapterHelper helper, GoodOrderListBean item, int position) {
        helper.setText(R.id.tv_Record_Title,item.IntegerOrder_GoodsName);
        helper.setText(R.id.tv,item.IntegerOrder_CreateTime);
        ImageUtil.setImage(helper.getView(R.id.iv),(String) item.IntegerOrder_GoodsImg);
     //   helper.setText(R.id.tv_Record_Money,"+" + item.getIntegerRecord_Integer() + "");
    }
}

